//
//  MagiMapView.h
//  HelloTaxi
//
//  Created by zhenhua zhou on 12-7-17.
//  Copyright (c) 2012年 ECUST. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

#import "GeoPos.h"
#import "RouteData.h"

@interface MagiMapView :  UIView<MKMapViewDelegate>
{
    MKMapView * mMap;
 //   MKPolylineView *mView;
 //   MKPolyline * mRoute;

    
}

@property (nonatomic, retain) MKMapView * MapView;

-(void) drawRoute:(RouteData * ) route;
//-(void) drawRouteEx:(RouteData *)route;
-(void) setMapPos:(GeoPos * )center armong:(GeoPos *)minPos at:(GeoPos *)maxPos;
-(void) clearRoutes;
-(NSMutableArray *) decodeLine:(NSString *)data;

@end
